package net.sxjr.mbg.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 系统参数
 * </p>
 *
 * @author cuixc
 * @since 2020-12-10
 */
public class JbdpParameter extends Model<JbdpParameter> {

    private static final long serialVersionUID=1L;

    /**
     * 参数编码
     */
    @TableId("PARAM_CODE")
    private String paramCode;

    /**
     * 参数名称
     */
    @TableField("PARAM_NAME")
    private String paramName;

    /**
     * 参数值
     */
    @TableField("PARAM_VALUE")
    private String paramValue;

    /**
     * 参数分组
     */
    @TableField("PARAM_GROUP")
    private String paramGroup;

    /**
     * 备注
     */
    @TableField("NOTE")
    private String note;

    /**
     * 0=禁用；1=启用
     */
    @TableField("STATE")
    private Integer state;


    public String getParamCode() {
        return paramCode;
    }

    public JbdpParameter setParamCode(String paramCode) {
        this.paramCode = paramCode;
        return this;
    }

    public String getParamName() {
        return paramName;
    }

    public JbdpParameter setParamName(String paramName) {
        this.paramName = paramName;
        return this;
    }

    public String getParamValue() {
        return paramValue;
    }

    public JbdpParameter setParamValue(String paramValue) {
        this.paramValue = paramValue;
        return this;
    }

    public String getParamGroup() {
        return paramGroup;
    }

    public JbdpParameter setParamGroup(String paramGroup) {
        this.paramGroup = paramGroup;
        return this;
    }

    public String getNote() {
        return note;
    }

    public JbdpParameter setNote(String note) {
        this.note = note;
        return this;
    }

    public Integer getState() {
        return state;
    }

    public JbdpParameter setState(Integer state) {
        this.state = state;
        return this;
    }

    @Override
    protected Serializable pkVal() {
        return this.paramCode;
    }

    @Override
    public String toString() {
        return "JbdpParameter{" +
        "paramCode=" + paramCode +
        ", paramName=" + paramName +
        ", paramValue=" + paramValue +
        ", paramGroup=" + paramGroup +
        ", note=" + note +
        ", state=" + state +
        "}";
    }
}
